package com.igeek.base.ch0712.Demo1;

/**
 * @Description TODO
 * @Author chenmin
 * @Date 2024/7/12 16:09
 */
public class EmployeeUtil{

    public static void bonus(Employee e){
        if (e.getMoney()>10000) {
            System.out.println( "姓名："+e.getName()+ "涨薪工资："+e.getMoney()*1.2);
        }else{
            System.out.println( "姓名："+e.getName()+ "涨薪工资："+e.getMoney()*1.1);
        }
    }
}
